package com.vv.boot3demo.http;

import org.springframework.web.service.annotation.GetExchange;
import org.springframework.web.service.annotation.HttpExchange;

import java.util.List;

/**
 * @author kw
 * @program boot3-demo
 * @description 用户接口
 * @create 2025 - 05 - 07 22:17
 **/

@HttpExchange(url = "/api/user/")
public interface UserService {
    /**
     * 获取用户名
     *
     * @return
     */
    @GetExchange
    public List<String> getUserName();
}
